<?php 
namespace app\model;
use think\Model;

class Problem extends Model
{	
    public static function getCategoryCn($key){
        $list = ['其他','弹性计算','数据库','存储','网络与CDN','安全','容器','中间件','大数据','人工智能','物联网'];
        return $list[$key];
    }

    public static function getCategoryList(){
        $list = ['其他','弹性计算','数据库','存储','网络与CDN','安全','容器','中间件','大数据','人工智能','物联网'];
        return $list;
    }

    public static function getTypeCn($key){
        $list = ['单选','多选'];
        return $list[$key];
    }

    public static function getTypeList(){
        $list = ['单选','多选'];
        return $list;
    }
}


 ?>